package com.ns002.yigou.quote.common.filter;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * @Author xu
 * @Date 2017/7/25 0025 下午 8:13
 * 开启Druid的数据库监控配置
 */
@WebFilter(filterName = "druidWebStatFilter", urlPatterns = "/*", initParams = {
        @WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")  //忽略资源
    })
public class DruidStatFilter extends WebStatFilter {
}
